from django.conf.urls import url
from . import views
urlpatterns = [
    #1,获取图片验证码
    url(r'^imagecodes/(?P<image_code_id>.+)/$',views.RegisterImageCodeView.as_view()),

    #2,获取短信验证码
    url(r'^smscodes/(?P<mobile>1[345789]\d{9})/$',views.RegisterSMSCodeView.as_view())
]